<script setup lang="ts">
  import { onMounted } from 'vue';
  const onClick55 = () => {
    new Promise(() => {
      // 不校验
      const a: any = {};
      // eslint-disable-next-line
      a.obj.val = 123;
      console.log('2025-07-07 14:26:20', a);
    });
  };
  onMounted(() => {
    window.addEventListener('error', (e) => {
      console.log('2025-07-03 19:21:54', e);
    });
  });
</script>

<template>
  <div>
    <button class="aaa" @click="onClick55">按钮</button>
  </div>
</template>
